Test for checking the view to be rendered