updates to tests and added feature

updates to tests, some minor cleanup, and added ability to reopen a task from pairing session