Fixed Need to make checks that the callback is a proper function and eventName is a proper value as well #2

Fixed Null/undefined for param values to 'on' and 'once' methods.
Or do not even have `testCase.result` since all of the tests should return undefined except of the last one. You can have the last one outside of the loop.