Fixed unit tests to use right database.