History tests/test_rule_handling.py