tests for img -> numpy.array

More tests for #347.

Tests img to numpy array for all the supported types that I can make an image for.