As per #289 , it takes over two hours to run the Kani model checker. This task is to optimize this test so we can run it in reasonable time.