Fsk more map par

Fixed bug in mapPar, added a bunch more tests.

(This was originally developed atop the scanPar branch that has a pending PR, but I then rebased it so that Niko can review and land orthogonally.)