JSMessages: removing typo in unit test