Added a test for a bug in the previous implmentation of localFS