added AbstractDecoder tests
allow decoding directly from upload object