add tests for new fs apis