ADD VIEW TESTING

Added a method to test the view's methods interacting with the controller.