Added budgetfunction test