What is the legality of the books of the Old Testament? When and how was it determined?