Update notes for submitted changes

* Replace file.write and os.path.exists by mock