Check `ReactChildren.{map, forEach}` callback argument

Fixes #1755

/cc @spicyj
`emptyFunction` is a function so this shouldn't throw. It might be getting mocked. Let's just not use emptyFunction at all in these tests.