Remove var_dump
Add exception handling to UPGRADE and rename to UPGRADE.md
Fix tests
Better error reporting to fix PostgreSQL tests.
Fix another check for PostgreSQL
Fixed test
Skip test