added serialization and deserialization test pk