Add partial for home page, and add test for pagination