py3 test compability.