Merge "Add tests for pass-by-value kernels." into jb-mr1-dev