Unit test for server_bin_log
Merge pull request #479 from xmujay/0629_UT_serverview2

unit test case for server_binlog newly refactored functions