Add tests for task details.