Added tests.
Added new collection classes in Model to provide easier queries.