Added a helper for tests
Important change to where ormHasErrors() get set.