Adding file specific tests

I think the tests are now ready to be merged.
Might be better to just look for the EACCES part of the message rather then try to reconstruct the whole thing - the test shouldn't start failing if they tweak the wording of the error message.. as long as the error is thrown.