The IRS does not conduct the tests. It is up to the fund owner or manager and its advisors to self-certify by doing and documenting its own testing with adequate substantiation as with any tax deductions. Then if the IRS audits the return, the fund owner/manager must provide the documented evidence to prove that it meets the 90% test for every six months testing period.