Fix array count default value

- Update mocha
- Dependency test
- Fix array count default value