Added assertions against hex numbers