added test for binary marshalling of treaps