Fix flickery test

Zeppelin unittest is not stable. https://travis-ci.org/NFLabs/zeppelin
sometimes it success, sometimes it fails regardless of changes.

This pull request trying to stabilize the test.