custom Eq instance is breaking ByteString tests