Fixed forEach function and linked to spec-runner