Fixed unit test. Also reverted .gitignore.