add cl.pl and test case
add badcase for cl.pl