Improve Child Behavior test to check invokation count

It's possible for a view's function to be wrapped multiple times as
Behaviors are added. This adds tests for 'onRender' and
'undelegateEvents' to make sure that both view callbacks and functions are
called only once.