fixed most command tests