testrender/testshade fix -- delete group refs before shading system.
Suggested by Anders Lindqvist.