added tests for TRANSLATIONS_PATTERN