Tests for type conversions.
