mv test.js into test/
add main.coffee and tests
delete variable a and modiy indentation