Fix FieldSpeedTest for Python.

- Add better error checking into PythonLoader.
- fix Python sources in field_speed_test.cpp