fix function events benchmarking code
Merge pull request #73 from enthought/fix-function-events-benchmark

fix function events benchmarking code