Parser. Unit tests with mocha