fix db settings in tests