Update notes for submitted changes

* Ensure that files are always closed in the tests.