Test library through nodejs