allow tests and app startup with db