Added tests for the UIEvent class
Merge remote-tracking branch 'origin/issue/2'