Add CLI tests
Tests