Modified function name that Option.map is changed to Option.option_map.
Add tests for Input module.