It's also pretty brutal how encapsulation is broken here, since testCasesController exposes its internal state, views, etc.

TestCasesController should register itself as a delegate as well.