check code coverage using istanbul and coveralls
print current directory if stdin is empty
update test to improve code coverage
add after_script to run node-coveralls