This can be placed inside `test "shell io" do` since it is only used there :)