Restores use of forEach iterating on non-array values. Fixes #345

This test would make more sense if there was some equality asserted. I actually had to read it twice :P