fixed tests and testing py32