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