nsh: fix nsp/nsi parsing
nsh: fix tests cases