test agent determine