adding view test cases