Test for exception throwing of the User Profile Manager added.