Further updates to the file tests.

Also change the mode of test.sh to now be u+x