Set locale for tests

This fixes the part of #2343 related to the date strings not matching the baseline images.  Since the baseline images were created (by me) in the en_US.UTF-8 locale, we should run the tests in that locale, too, so the output files will match the baseline images.