fix db instance test