Test the content of a value