test to serialise  example model