added test for golay_encode_portion().
Confirmed that it works correctly.