add unit test for mysql protocol