Fixed and cleaned up tests for taskphp/cli#1