test case viewcontroller