Added tests for repeated fields