flesh out test for portfolios. cleanup tests.