Renames and exposes _getEvent to normalizeEvent so it is accessible for others also,
Adds initial unit test for the DOMRouter definition