fixes test for when cookie for deviceID is not present?