add a test case for getHomeInfo