Command unit tests