Added testcase for model generation testing