Added unit test for Model class.