Refacotring command test case with phpbrew\testing\commandtestcase