Changes to input.rb and testparse.rb