Adding patches and tests to converter.rb