Make tests passing with Python 3.4.