X_TEST_DB_UNAVAILABLE
Means
no Postgres for the test template
Typical cause
nothing listening
Fix
run x dev (embedded Postgres), or set TEST_DATABASE_URL
no Postgres for the test template
nothing listening
run x dev (embedded Postgres), or set TEST_DATABASE_URL