Finished tests for GeoLine and refactored tests