make tests better

1.add gitignore
2.add script: test
3.modify t.js
Merge pull request #12 from rhapsodyn/master

make tests better