update: update package.json and init test context
add: accomplishes the basic distinguish function.
add: add test case for lib.