Fixed code.name and started trying to test reports
Added model validations for jocr