Fixed #1833 modify some codes of EditBoxTest for sync to last version of cc.EditBox

modify some codes of EditBoxTest for sync to last version of cc.EditBox