Fix run_tests.py script and travis environment