Adding test for hex-format entities

Signed-off-by: RK <robert@woodst.com>