Add ApplicationFee resource and unit test for retrying.