see vsuite/costmt/quant/invoke_array for similar tests using co stmt.
