Fix global variable leak in MockAgent.
Merge pull request #26 from lslah/fix-global-variable-leaks

Fix global variable leak in MockAgent.