Add new tests for linear coding