fix typo in env node, add specs