download plugin: temp directory and test cases