Add tests for pass-by-value kernels.

Bug: 7166741

Change-Id: I8bb37b9205c146a922c141665a86ce8013ad4f0a
3 files changed