Use the original version of setUpEffectiveNodes only for createLink.

I reverted setUpEffectiveNodes only for createLink once so that we can get the original results of the tests. I'll continue to try to unify these implementations.

PTAL
nit: Could you change them to |console.assert()|?