Remove trailing slash on sourceRoot and use sourcemaps join() for test