Add ShapesReader tests, correct float comparison