updated zk functional testing