For purposes of these tests, passive income includes dividends, interest, and gains from the sale or exchange of investment property and rents and royalties other than rents and royalties which are received from unrelated parties in connection with the active conduct of a trade or business but does not include income derived from the performance of services.