Fix sharedForEach callback's argument order (test)

As title.