Fully implement iterative decoders and add a test for them