[FEATURE] Configured in memory test database, postgres test database and database configurations to be used based on NODE_ENV property