Create unit test for rule 4 (dotrule)