test the view