make tests work in python 2 and 3
add travis coverage for 3.3 and 3.4