I think there is a step missing from the PostgreSQL installation. I don't remember seeing a step to add a database named 'test,' but this database name is referenced in the next section "Connecting to PostgreSQL"