Add workitem intrinsic test