Match string case in exception message.
Set locale during test execution. Relates to #6.