add python 3 check in resources and fixed tests
Merge pull request #1463 from diegosarmentero/master

add python 3 check in resources and fixed tests