Rewrote test for home() function