While checking the SurfaceOfExtrusion on closeness (GeomLib::IsClosed()) it is necessary to take into account that the basis curve may be not trimmed. Test case for the issue.