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