Refactor tests that use antunit-base so they all use the same output dir and share a common cleanup target, output goes to the temp directory. Fix some inconsistent line-ends as well.