fix unit ShapeManager unit tests