fix mappings.rb tests