Fixing tests for BookController and LibraryController