def METHOD_NAME(self, _, in_bytes):
    model = self.handler().compress(in_bytes)
    model_bytes = model.to_bytes()
    self.assertEqual(len(model_bytes), model.cont_size(model_bytes))
    self.assertEqual(read_u16(model_bytes, 5), len(model_bytes))
    self.assertEqual(read_u32(model_bytes, 0x10), len(in_bytes))
    self.assertTrue(model_bytes.startswith(b"PKDPX"))
    self.assertEqual(
        model_bytes,
        self.handler().serialize(self.handler().deserialize(model_bytes)),
    )
    self.assertEqual(in_bytes, model.decompress())