Update and rename test47.out.txt to test47.ref