test for cls

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>