Yeah, passing in ops would definitely work. I personally try to write my tests in a `package foo_test`, not relying on private functionality, but I can understand your desire to just take *os.File and not an interface.