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