Tweak MockDatabaseManager to allow Unit Testing against a PostgreSQL or Oracle DB (for easier DB migration testing). Fix problematic H2 migration.