add javadoc to TemporaryFolder
review code formatting
use static imports to reduce syntactic noise