unit test coverage on history route