Dual CNN test
Fix dual CNN bugs