fix bug: delete files when test finished