prepared python test for OnlineDecoder, untested