task_test is only needed for test targets

Change-Id: Ib2e348f858c5ebba91cba2bf781cdb02f0120c46
Merge "task_test is only needed for test targets"