Unit test conversions.