in reply to Re^2: Makefile.PL no such directory
in thread Can't locate ... in @INC

The 'make test' output you provided doesn't tell us much about the reason that the test failed. Is there a more helpful message emitted prior to the stuff you copy'n'pasted ?
If not, run
perl -Mblib t/XML-DOM-BagOfTricks.t
and let us know what that outputs.

Cheers,
Rob