Added hex unit test