This test is meant to actually test the software, we don't consider testing that files were installed to be worth anything, so you can just remove it or write a test program that links with this library, for example.