Finixing ORM::Entity class and tests.