Tests of eachrow() function