JSonData changed to ModelData for Test replaceViolations and resetDate functions