Tests for fs, added expect as a global in tests