Test improvements

Fixes https://github.com/openlayers/ol3/pull/358#discussion-diff-3350682 and adds syntactic sugar for the sinon spies.