Added and Fixed some ControllerTests and changed RedirectToHome function