Refactored the way we are handling errors so we can test for them. Added first forEach() test.