fixed test to run in python >= 3 && < 3.4