The rules for the Means Test are contained in the Bankruptcy Code at Section 707(b). The Means Test requires us to first determine if your income is above or below the “Median Income” level for similar households in your state. The bankruptcy means test determines who can file for debt through Chapter 7 bankruptcy. It takes into account your income, expenses, and family size to determine whether you have enough disposable income to repay your debts.