add repeated field test and small szl code