Add decoder tests.