OK, I misunderstood what was going on when I wrote the above.  It still feels to me that the tests want to be factored a bit differently, since onInitializationComplete is a public method.  But I'll leave if/how to do that to your judgment.