fix the tests

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
fix metadata detection for TRANSLATIONS_PATTERN

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>