Bug 1035133 - [TestAgent] Check that the TestAgent object is here and di...+shepherd

...splay an error message otherwise r=yurenju
AFAIK window.error is also useful when there are issues in the code; but I agree this can be seen also in the dev tools' console. Ok I'll remove this then!