added Command unit tests