Some more refactoring. More logical is to set a result in the saveFields() method. Adjusted tests, removed last assert, where was a problem with id field in Postgres.