Renamed test case for task API. Modified tests to take authentication and authorization into account and added some tests to check the unauthorized cases.