Basic string rule with test