fixed reference to xml file in download.js
added tests for event.js; adjusted tests for config.js