add example and test to ORM