add test case for home page view