add cloc output and test cases