usage of ORM and inclusion of unit testing