Fix instrument agent test