fixed profile update specs
Merge pull request #181 from dontmitch/profile-updating-test-fixes

fixed profile update specs