Update parser tests, add devDependency for chai.