Fixed parser to work on initial .hard files
added mocha test setup