added equality tests for the Task class