defining test db