change deleteAll to work cross-platform

enhance tests to run with opened and unopened indexes.
2 files changed