unit test home view