created pages controller and made home page and made test for home page