test under python2.7