add duplicate-sub-deps option flag to npm install + test