make tests run on py < 2.7
* get rid of assertIs
remove unsupported py2.5 from travis tests