Updated/fixed test.py; enabled count_rule_kinds()

There are 27 canReqCreds.