BUG: fix tests to run on py 3.2.