added test to show bug with custom serialisation and round trip behaviour