[PATCH 6/7] reg/tests: Update error messages