add test

Signed-off-by: Qiu Feng <qiufeng@xiaomi.com>