Added tests for sourcemap null when not requested