Add decoding tests