Improved Library Search test

* made library owner search test more robust