#657: Add test suite for the events option, thanks to @stephengreentree