fixed npm test invocation
fixed trailing slashes with bash autocompletion