Changes to matchesSelector to make tests work
Merge pull request #2 from Parcela/adjustements-for-event-dom

Changes to matchesSelector to make tests work