Add script to run test in an encapsulated manner

`travis_run_tests_encapsulated.sh` -> `travis_run_tests_encapsulated`