Section codec test added. There are some bugs...