Add tests for remaining methods in syncall.Directory