fixing extra space in error message
better error when using a geometry object in get_all
adding test for geometry object in get_all