testing of inet_v2.js using mocha package