[PATCH 3/4] reg/tests: Use correct file and line arguments with delete_file()