updated hexadecimal tests, and the method as a result
slightly better test messages