Fix testing on python 3.2