Add tests for the home controller