Getting cluster tests working.
More cluster test code, resource manager test code.