Tests for the `func` rule option.