Fix tests and ensure that receive_date is always set