added cost category spec
issue #22101, issue # 22100 fix to privileges
Merge pull request #1110 from elevow/costcategories-spec

added cost category spec