Adding unit test for PurgeTabletActions.

And fixing a bad return code in zk topo.