Testing Portfolio Qodes