Follow-up fix to a unit test