Fix a problem with this object passed to each expanded test function

I have noticed that this object in each test function expanded by data-driven module is incorrect.
Due to this, I could not use [mocha-sinon](https://www.npmjs.org/package/mocha-sinon) in data-driven test cases.
So I have added some test cases for reproducing this issue and also fixed it.