To be a part of the government of the Tang and Song Dynasty in China, you had to pass a _____________ ____________ __________________ which focused mostly on the beliefs of ________________________.