Small improvements for tests

I got confused by the currently actually reversed values in some of the "x should by y" log output. Time to change that, so here two small cleanup commits.

Not sure if the duplicated copyChildNodes should be moved into core.UnitTestRunner. In any case the general util classes seem wrong to me, as test-only code should not bloat the API of the normal code.