test.js
added boolean non terminal