test_array_decoding: fix some pep8 warnings
Add a sha1sum computation for decoders

sha1sum will be compute for file, url and numpy arrays