Fixes 595 (fix failing fs test cases)

fs test cases were failing because fs.ls does not make any garuntees on the
order of the files it returns. The test only fix was to modify the test to
use assertItemsEqual