Fixed use of assert* functions in some gis tests
Added tolerance in equality testing to avoid random build failure