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.
Will do it in next commit !