UT: Add unittest to confirm new serialisation model.