update test/profile.js for new grammar/parser invocation