client tests were updated

1) Client tests were updated
2) DefaultCommand was added
3) Command API was changed
4) Minor changes