fix db for test