Fixing Jasmine tests.
Merge pull request #611 from guardian/tweak-speed-detect

Fixing Jasmine tests.