Added support for arbitrary named arguments for filters, tests, and functions

Similar to #1159