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