Tests for Mappings class
Reductions tests.
Fix compile error
Remove unnecessary code