Add .cache to gitignore.
Add first test.