Improve source-maps=memory.

Correct the key for sourcemaps in mode 'memory'
Add unit test for sourceMaps:memory from interpreter.
Add sourceURL when the input name differs from output name.
Maybe use assert and ensure that asserts are enabled in the tests?