fix and test bugs in Sequence.Reversed