Fix bug in test-parser.js (now all the tests pass).