Fix instrument agent test
Merge pull request #851 from shenrie/master

Fix instrument agent test