The fact that the intra-family contribution was made in the form of a guarantee should be irrelevant for income tax purposes.
I find that the 'significant' motivation test produces results that are totally at odds with the goals of the statute.