rule and rule worker tests