fs: Use correct self reference to test for autoClose

Due to incorrect `this` reference, `destroy()` was never called when `fs.open()` errors.

New test included, along with fix to existing tests that ensures that all asserts are actually called.

This fix also applies to the current stable release.