Correction in register_test

Back to the previous version, it has been committed by error