fixed tests for TRANSLATION_PATTERN