Added test for record_fee