Added test for repeating fields (number1/2/4/8 and string/longstr) + minor fixes