Can you make this more general so that you can extrude a circle too?  Then you could add a test computing the volume of the extruded piece maybe.