Moved mockCommand up a bit.