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
Merge pull request #596 from sudarshang/595_fix_failing_fs_test_cases

Fixes 595 (fix failing fs test cases)