Change home page to using a template and updated tests