spec/io-spec: `let` instead of instance variables