tried to fix travis errors for 2.7 tests