[rules-dev] writing unit tests