Internal Test: Verifies that a built-in function using `ByHandle` arguments can correctly modify the state of variables passed to it.