Added integration test for task controller