Fixed test suite for postgresql

if we migrate the database then it can be that columns order is different than defined in the schema.xml.
We use in our tests `SELECT *` which returns the columns in database order, not model order.