Added 6 test cases for the view controller