Added functional test for the homepage