Fix embedding source file contents in source maps and add tests

Somehow these had been added in #33 but lost in a later merge.