Fixing unit tests, altering Postgres.create to return an updated entity