Fixing unit-tests to use test database.