add agent test

Signed-off-by: TZ <atian25@qq.com>