Joetaylor/source map tests

This implements source map tests (`assertMap`), and some connivence methods (`printGenerated`, `printSource`, `debugMap`).