Fixed the update profile activity unit/ui tests.