Correct sourceMaps option in test and verify it.

Partly fixes #1254