fixed problem with test db