1. Make unit tests compile.
2. Fix ordering bug in the map() method.
3. Fix bug in the toString() method.