Test for non encoded strings being passed to decode function which would throw an error.