with serialisation and dynamic value tests