testing the home method on the pages controller