Added appropriate OS-specific testing to TestChangeAgentTools of agent/tools_test.go