added handling for hex decoding exceptions, tests exclude :body from assertions