getLibrary() is used to get the library in LibraryMessageTest after serialization, but setLibrary() has been removed