Add initial CLI unit test.