8. must
Explanation: The condition 'if he wants to pass the test' creates a strong necessity for him to study hard. 'Must' or 'has to' are suitable here for strong obligation.