Bug 1035133 - [TestAgent] Check that the TestAgent object is here and display an error message otherwise r=yurenju