I assume it can't otherwise somebody would have done it, but can't CYA be reduced/oxidised to ammonia or nitrates with a safe chemical reaction rather than biochemical (as in bacterial degradation), and then the amount of ammonia measured using currently available color change testing techniques, correlating back to the amount of CYA in a sample?