Modify TestFileConnection

This makes TestFileConnection work in a different directory than "/", making it less problematic (sometimes if you had some files in /, you'd need to clear the storage before being able to run the tests successfully).
This also adds a mkdir test and fixes a problem in listImpl.