Adding the view tests