When testing the function of calculating the required spending for upgrade membership, the expected result and actual result do not match. The expected result is a positive double value, but the return value of the function of Membership.sepndingToUpgrade() is a negative double value if the accumulated spending of customers had already surpassed the upgrade threshold.