Testing how the controller and view work