Added a test for sorting using MutablePair's.