update unittests for THEAD rules