Added a test method to Home Controller