fix Terror.create() example in jsdoc
add jscs to npm test toolchain
remove redundant function from test