How does the sentence end? See options at the end

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

Pick your answer from: (a). Joseph knew he had to create a welding test.; (b). Ryan knew he had to create a welding test.;
(b).