tests, Image.gradient, more tests, lots of tidying
Merge branch 'copy' into hcopy