binlog: Tests for handling StopEvent