fix rule and te
sts