create class method process for input_processor.rb
Rewrote contexts and expectations to be more consistent