created test case for modelTest