rearranging tests
adds tests and code benchmarkjs
Merge pull request #1 from twokul/tests

Rearranging tests