It would be good to have a test for this.  For example, see `throws when rendered without a material` in [EllipsoidPrimitiveSpec.js](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Specs/Scene/EllipsoidPrimitiveSpec.js).