(agent_put_cache): Fix the test for using the default