Added test for generic Models object