type conversion tests