Build and test util functions for reimbursement