Improve test.

use shared_ptr to manage KiiUserAsyncFactory.