Fix fn kwargs in filter
#2836 broke the `fn_kwargs` parameter of `filter`, as mentioned in https://github.com/huggingface/datasets/issues/2927

I fixed that and added a test to make sure it doesn't happen again (for either map or filter)

Fix #2927