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