You never want to have people fail their tests. A better option would be for your sensei to have a word with X and suggest that he shouldn't take his test at this point in time. He could also tactfully point out that improving yokomen-uchi shihonage would help him if he wants to take the test in the future. This is what my senseis would have done in these circumstances.