add CLI tests
include api reference in readme