Updating tests for reliability, and adding missing cancel test
The previous fix for setting locale did not work as expected. Using better solution.