[doc] update TODO
[mod] clean working tempfile for tests