tests: fixed the perl warning "Illegal hexadecimal digit X ignored". thanks Yecheng Fu for the patch in #6.