TESTS: When task management functions fail, print the reason why it failed.