Bug 1006020 - [testing] Write a test for completing a task

Wow !! This covered almost all the pages ;-)
Bob please let me know if we need any changes.
Should this be reading the name from the page content, rather than the header? The name of the property `user_profile_name` suggests to me that this would be the name from the page content.

Also, we shouldn't have to jump through hoops like this to extract what we need. We could add a `<span>` element around the name in the application code so we don't have to do text parsing after getting the element.