Github user lvfangmin commented on the issue:
https://github.com/apache/zookeeper/pull/447
@anmolnar I also find it's hard to track when using overwriting the commit,
I'll use stack instead.
For the tests, I need to inject some failure in the Quorum being set up,
that's why I need the customized way I'm doing in my code, I think I prefer to
create a separate test class.---
