Fix specs that fail in testling-ci:

A foreach test that was failing in Opera 11.5.
Async tests that were timing out in Firefox.