fixed typo in path
added a CLI test