Test sourcemaps too, and fix sourcemapURL option