added more test cases for appModel