Test both directions of the conversion.