add bench serializaion test