Fix bad test case.
Fix CLI script.