Updated IoTDM tests to be compliant with latest changes