Edit test for 'home' to use helper method