getBooksByAuthor works