corrected npm ls test to ensure the code is 0