Test for view