added mocha dependency closes #4