changed position of status flag in irdecoder

tests adepted (affects issue #5)