Rewrite test_greed
Rewrite test_greed

blink1073/pexpect,Depado/pexpect,crdoconnor/pexpect,dongguangming/pexpect,bangi123/pexpect,quatanium/pexpect,nodish/pexpect,Wakeupbuddy/pexpect,nodish/pexpect,blink1073/pexpect,quatanium/pexpect,blink1073/pexpect,bangi123/pexpect,Wakeupbuddy/pexpect,Wakeupbuddy/pexpect,nodish/pexpect,dongguangming/pexpect,quatanium/pexpect,dongguangming/pexpect,Wakeupbuddy/pexpect,Depado/pexpect,Depado/pexpect,bangi123/pexpect,Depado/pexpect,bangi123/pexpect,crdoconnor/pexpect,dongguangming/pexpect,crdoconnor/pexpect