test bench for serialization checking macros