Serialization and Testing thereof. Learned some lessons about .equals