Various changes:
* `helpers.get_filenames` now returns an iterator
* Use `unittest.TestCase` in `PrintFunctionTestCase.__getattr__`
* Minor changes to docstrings