restore elec slug to mappings for md
fix tests