decoder test pass now. still is whole thing VERY slow