Test source map correctly

This test was passed by `undefined === undefined`.
Clean-up test code