added unit-tests for Commands