Added serialization test to TransitDetailsTest