Remove unintended return statement.
Add function to create a testable app instance.
Create a db context on demand.