Added implementation and test for reporting service.