make sprintf pass under parrot backend

Also added two tests about accessing args by index.