fixing CommandEventTest