Updated tests and also updated the ecowebsocketservice