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