testnode: use reportFailure():w in place of fail()