ticket:1 Write test of home view.