Check that we are loading up the view function correctly