Bugfixes + test case for GeometryInputFormat