REPORT-567, localize OpenmrsMetadata, add unit tests