Configure Postgres in dev and test environments
Fix home page test