- add some tests for sub command