Rework npm fetch test to make it faster and less involved