Updated device unit tests to comply with publishEvent using HTTP
Updated device unit tests to comply with publishEvent using HTTP

ibm-watson-iot/iot-python,ibm-watson-iot/iot-python,ibm-messaging/iot-python,Lokesh-K-Haralakatta/iot-python