Whether you’re expecting or not, the IRS recognizes the cost of buying a pregnancy test kit as a deductible medical expense.