fix and add test for Proc#source_location
Merge pull request #1815 from take-cheeze/source_location

Fix and add test for Proc#source_location.