Session07

You use a variation of these three lines in every test. Consider creating a helper function that will do this for you. Also, you could ensure that `f` closes by using a context manager. 

Comparing `f.read()` to a preexisting file isn't inherently wrong, but, if I had to maintain this test suite, I would be annoyed that I'd need to open another file to see the desired output.