Save diff image if test failed

Save a diff image if a view test failed.
With this you can directly see the difference without using a third party image diff tool.