Added tests for new fake events ProgressEvent and CustomEvents in event.js

Added tests for new fake events ProgressEvent and CustomEvents in event.js