Simple API checking using existing CLIs

We should use the CLIs to perform API checking, much simpler, and
easier to debug when problems occur.