get tests working in python 3.x