The government chose to cancel the test involving nearly 23 lakh candidates rather than risk disadvantaging any student who prepared honestly, sources said.