edit to gitignore and fixed bug in testing