make tests work under python 3.3