tests for cl parsing