Fix to exceptions in ddtest