It was getting way too ad-hoc in there. Let's reorganize the tests so that there's a good, obvious, suggested sequence to run them in.
I had forgotten to pass the create mode to open(). Oops!