Fixed packaging issues for NPM. Lib and test directory where not included.