Test getCategoryIndex and getPortfolioIndex
Merge pull request #230 from krazemon/getIndexTests

Test getCategoryIndex and getPortfolioIndex