Created a test for events and squashed some bugs found while creating the test
Merge branch 'master' of https://github.com/Darksonn/Game-Engine