Added fairly extensive tests for kernel.setArg()