fix passing the location of uninitialized iterators in Lazy Referencing functions
correct the readability of conditions and tests related to lazy referencing
fix missing deallocation of memory in the test cases for c-interface
unifying iterators naming in functions related to Lazy Referencing
Merge pull request #242 from alikh31/alikh31/lazyreferencing

fix passing sourcemap iterator in Lazy Referencing