some fs.close() tests; closes #1