Converted test_conversion.py to use unittest.