Merge "Adjust testMutate to not rely on undefined behavior" into rvc-dev