added test cases for portfolio data