feat(cli): add test coverage