add a test case to verify decimal and hexadecimal conversion