Created test for home controller
Refactored home_controller
Forgot to add files