Add tests for events. Due to loader's event-driven nature all tests have to be asynchronous.
Add tests for events. Due to loader's event-driven nature all tests have to be asynchronous.

cebence/imageloader,cebence/imageloader