added more test for view