Fix test for outdated-new-versions in edge cases

Make the tests independent from the order of the data-Array which
differs when I run the single test

Fix tests which clean cache:

I also added a separate cache-directory so the test does not
poison the normal cache of npm.

fixes #3948