[PATCH] reg/tests: Test how values are overwritten when copying