Add a spec for Base.serialize_records