test: Moved intersectsWith() testing function into test-extensions.js
test: Added expect(spy).to.be.called() syntactic sugar
Merge pull request #362 from Turbo87/test-improvements

Test improvements