Polished tests for dom event emitting.
Fixed module requires.
Updated widget tests not to imply troopjs-browser.