re-mock databases in unit tests

Change-Id: I23753b92465045c8d03e568d897fbb84a22857d8
Reviewed-on: http://review.couchbase.org/27211
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>