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