move mock mirrors to their own library and eliminate warnings

this library needs more work