setting proper database settings for test