full unit test of location.hpp

Added unit test for location.hpp classe SourceId, SourceLocation,
and SourceRange.