py2/3 test compability