mocha test for splitDependencies