added integration tests for tasks