Adding unit tests for the partial complete decoding