Fans of Harry Potter are being invited to put their knowledge to the test.