Small fixes to patientData for tests, and consolidating some state updates
Small fixes to patientData for tests, and consolidating some state updates

tidepool-org/blip,tidepool-org/blip,tidepool-org/blip