Update docs and test to specify in which order arguments are passed to a...

... custom predicate function