Many intrusive thoughts have a desire component, to do something you feel is wrong, so you don't need to distinguish between intrusive thoughts and desires - they are the same.
Terry is probably the best person to comment on this, but testing is probably part of the whole intrusive thought complex.