Code review feedback. (added tests for cogroup and substract; added more documentation on MutablePair)