Add test for fs.stat