add tests for each()'s field/method support