Added test cases with different source locations