add unit tests for Home.View