Fix locale setting during tests

The LC_ALL environment variable has precedence over the
LC_MESSAGES. Hence, we should set the former during the tests to force
git messages come out in English.

Ref: https://rt.cpan.org/Public/Bug/Display.html?id=99537