linux – hexdump reconverted

test.txt chat
30 31 37 20 41 41 41 20 0A
xxd -r test.txt
017 AAA
hexdump test.txt
0000000 3033 3320 2031 3733 3220 2030 3134 3420
0000010 2031 3134 3220 2030 4130 000a
000001b

and now I'm going back to the original format but I can not use multiple commands and with xxd -r it gives me
033 1732 0144 1142 0A0
and not
30 31 37 20 41 41 41 20 0A
is there anyway I can turn it back to hexadecimal?
Thank you