refactor(tests): refactor test to match new model for ddLib
documentation(dd-lib): add documentation for methods in dd-lib