Tests are found in the `Specs` directory:
https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Specs

The tests for `ImageryLayer` are found here:
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Specs/Scene/ImageryLayerSpec.js