cat: fix tests

This should update ```cat```'s tests for the latest Rust.