updating to only do the mochaTests when npm test is run