Use locale 'C' for running tests. Closes #17423