added test for zprotocol