fix for the junit for accessing db