Break fake inputter and outputter into mocks.go for reuse.