Update datastream tests since removal of ClaimedSensor
Update more unittests for api sensor
Fix bug for updating datastream when owner was None