added test for the views