add cluster mode for test