Correct sourceMaps option in test and verify it.

Partly fixes #1254
We generally do not add messages to our asserts but ok if you want to do this.

Also, maybe use assert.isTrue unless you want to allow any truthy value.