Adapt class CommandTest to changes in class Command