Decode unit-test