added tests for image comparison
Merge pull request #41 from anizami/new-image-tests

code for generating and comparing images
Make coord_type_from_ctype return a default coord_wrap
Add coord_type_from_ctype tests.