Improved binlog testing.
Merge pull request #101 from kxing/kxing_binlog_1

Improved binlog testing.