Fixed documentation in user tasks and added assertions to unit test.