added test for managing tasks