TRUNK-3064: Create unit test for duplicate messages

Unit test in project openmrs-webapp.
Currently 7 files has duplcated vales.
Related task #TRUNK-4406 will remove duplicated keys.