Implement mapKeysMonotonic.
Fix mapKeys test not being run.