added unit test for hxccpprotocol