better error when using a geometry object in get_all
adding test for geometry object in get_all