Complete tests for checking file access