Fixing test() method, adding all rules in the invalid group for this method.