Implemented tests for Map.inverse.