Add test case for removing unused dependencies on whitelisted update
Add test to verify that depency packages get deleted when no longer in lock file
Merge pull request #3467 from naderman/fix-update-whitelist-unused

Add test case for removing unused dependencies on whitelisted update