It says more about the nature of pharmaceutical manufacturing than anything. We often need to screen for impurities, and cyanide is a pretty common one.
Cyanide is found as an impurity from both natural sources and as a byproduct during the manufacturing process, a lot like lead. So it's common enough to warrant the expense of testing