fix unit test for mysql