fix each_callback's document and test