Use testq/jz instead of cmpq/je

Jerry said it was faster.