Fixed old python 2 test problem.