ISPN-3017 Add tests for queries with FSDirectory