Added test for setting 'attempts' field name.