Use task to run tests and update CommandTest