[test] updated tests, included library tests for npm test