Streamlined test.js, added .gitignore