mocha、chai、sinon和istanbul实现100%单元测试覆盖率

NoSuchKey