added mocha
fixed tests by moving commander config data to bin file
setup before and after tasks for tests
added .npmignore for src directory