[test] follow npm recommendations