Adds test for FileAdapter.stat