Added tests for coverage.
* Tests only for D3api objects
* Testing mainly consists of checking for data structure