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