Fix amend worker test.