Adding a check to insure that test will fail if libxml2 is not installed.

....