write test cases for home module.