Formatting to 2 spaces
Formatting to 2 space
Use basePath if dataPath is not provided
Include mocha test