added tests in the dpl module