Tests for the HybridSerializer