render tests: Make a common include makefile. Compute image diff.