starting to refactor cluster tests, for eventual tests on leveldb-store