finishing test for valid views
adding more testcases for random views