Add more command tests in PHPUnit