test for portfolio