So a good test would be replacing the spell names in the books with made-up spells. And if a "real" spell name was given, it also tests whether it "cheated".
If you ask a model to discuss an obscure work it'll have no clue what it's about.
This is very different than asking about Harry Potter.