Fix tests
Move extra functions into a FakeChroot subclass
Tweak patching process to make it easier to hook in fixture recording
Patch check_call from tests