How does the sentence end? See options at the end

When Joseph applied for an apprenticeship at Ryan's shop, 

Pick your answer from: 1. Joseph knew he had to create a welding test.; 2. Ryan knew he had to create a welding test.;
2.