add unit test for exportuserprofiles view.