Added tests for parseSourceLocation.