Completed base64 to hex decoder in test.c