Merge pull request #44 from Aintaer/master

util/when: assuring rejection path
util/when test: enforcing a minimum wait timeout

Without the 10 ms waits() call, firefox seems to fail on travis