Add .resources to .gitignore.
Make unit tests work.