tests: fix compilation.
Export sourcemap file.