It's not addsDependencies.length that you want to test here?