testing serialization backward compatibility