added a test

simple `HomeControllerTest.java`