tests for Databases (+ mock dbs in spec/mock)