add tests for sourcemap util