Some changes to the tests for the QE env.