Cleaned up compositeView.onBeforeRender spec

That's a good example showing the situations that the other way of writing the tests won't work; now I wonder if we are we consistent in the situations that it does work?

You're right that we necessarily need to write them in two different ways, but do we just pick and choose arbitrarily when to use either? Or should we go through and make sure we only write them 'inline' when we absolutely need to?