cover WorkingDirectory plugin with proper tests for temporary directory case