add inet unit test and identification benchmark

unit test needs mocha and should