test to get hex right