more info in logs on missing command
improve tests