When my DCC decoder is not working as expected, I have found it useful to make use the ESUa decoder tester.

51900 Decoder Tester (PDF)