added tests for usermanagement