Fixed tests for python3, #5.