ported Scala version of RoundTripSpec to Hspec