Simplified the database setup in conftest.py and removed unnecessary explicit engine.connect() calls from the various db.py modules