Test and refactor BooksHelper