BUG/TST: fix tests for groupby nth on Series (GH7559)

closes #7559