~ Clean up after tests
~ A few fixes.
~ Put test files to tmp dir.