tests: add test for unknown rule option