Fixed a bug where the lib was broken due to lack of proper linking to
libxml2. Oops. Also started a test for search facility.