Adding test for history and service/history modules