Simplified the database setup in conftest.py and removed unnecessary explicit engine.connect() calls from the various db.py modules
Retain WhiteNoise as the static file handler