added DlInterface.h, fixed tests for Dl interface