Issue7 - Added ensure for event recording, so that even errors are timed