change test dependency and indentation level for project
add mocha phantomjs and make test command work
move test command to script