tests: simplify some accesses to insn's details, and fix some typo bugs
diff --git a/tests/test_ppc.c b/tests/test_ppc.c
index 706a590..91d267f 100644
--- a/tests/test_ppc.c
+++ b/tests/test_ppc.c
@@ -60,10 +60,10 @@
 	}
 
 	if (ppc->bc != 0)
-		printf("\tBranch code: %u\n", ins->detail->ppc.bc);
+		printf("\tBranch code: %u\n", ppc->bc);
 
 	if (ppc->bh != 0)
-		printf("\tBranch hint: %u\n", ins->detail->ppc.bh);
+		printf("\tBranch hint: %u\n", ppc->bh);
 
 	if (ppc->update_cr0)
 		printf("\tUpdate-CR0: True\n");