TMDM-7500: create junit for 'Reporting' case and code refactoring