testing if all_expenses method giving list of all expenses