test for multiformat serial/deserial