added a test for the new protocal