Fake IO for tests