Passes including almost all dummy encodings

It's not necessary here. It's a leftover from the previous version which used `encode!` for `str` and `pattern` and thus was unnecessarily modifying `str` input param.