Fix .gitignore and GraphTest.