PASS all unit test in UserManagerModule, add integration test. TODO design the integration test