A mocked implementation of Mach-II for inclusion in unit tests