fixed problem in test_geom