Fix the bug found in ZabTest.

Fix the bug which caused the travis failures.