I believe the whole point of this test is exactly causing an error in PostgreSQL to prevent encoding issues in the error message. If that's correct, making the test run in MySQL only makes no sense.