added test script and logEvent function working
Merge branch 'master' of https://github.com/uiucseclab/MagBastard