Clean up directories created by test.
Remove unnecessary things from gitignore.