Initial test of recording events to file