I feel like the test test_create_decode_mask should be more specific. Currently, it verifies that the total number of edges decreases when applying a decode mask. However, checking the m2g (decoding) ...