testing the library integrity