Currently, output from `print` functions are tested using `expect_output()` . Migrating to edition 3 will allow `snapshot` based testing.