Fix previous and add unit test for Key::hex.