As a small matter of style, I'm not sure that it is necessary to reread the test file multiple times i.e. once for each separate test. But brilliant again that you included the tests!