More fixes to console input for python3 testing compatibility