fix the tests for peer-deps-invalid.js