Fix mirror tests.