Make test_utils.rs work with latest Rust

Minor fix that allows a build with latest Rust.