mirrors: fix tests.