Added unit test for Model service