GeoLib::GEOObject bug fix for merge

Added a test case and corrected bug.