Modified tools/test bash file to perform the python3 setup.

Travis now just runs this file, so it's running the same file as
contributors will.