Use targeted unittest assert methods in test_cli