Adding tests for case_insensitive_keys and strip_whitespace_keys to param filter
Refactor to avoid duplication on param filter