Make the exporter more robust
Rename some test methods, drop an unused one
Add rake task to export new-style mappings