Group API fixtures
Use Mocha for mocks
Refactor CLI splitting functionality in smaller chunks
Add CLI test coverage