[PATCH 8/9] reg/tests: Split 'copy' tests from reg.c