Corrected LibraryTest