[PATCH 1/9] reg/tests: Split 'delete' tests from reg.c