Data provider pattern implementation for mocha