Ensure that the order of output is respected in tests.