working with test database