add test case for source map