Test cases for source maps

Add test cases for source map functionality added in #23.