Added get_by_id to model. Adding a few ODM test cases. lazily initialize query connection