test: add test case for cls

Signed-off-by: Min Chen <minchen@ubuntukylin.com>