Updated tests in LibraryTests.cs