Fixes codec unit tests.