Add tests for home controller